#ifndef __UART_H_
#define __UART_H_

#include "stdint.h"
#include "stdio.h"

typedef enum
{
    UART_TIM_1,
    UART_TIM_2
} uart_tim_enum;

typedef enum
{
    NONE_PARITY,
    ODD_PARITY,
    EVEN_PARITY,
    MARK_PARITY,
    SPACE_PARITY
} uart_parity_enum;

void uart_init(uart_tim_enum tim_t, uint16_t baud, uart_parity_enum parity);

#endif
